package com.lemon.core.captcha.constant;

/**
 * 验证码常量类
 *
 * @author pan
 * @since 2017-03-22
 */
public final class CaptchaConstant {
    private CaptchaConstant() {
    }

    /**
     * 图片验证码redis缓存的key前缀
     */
    public static final String IMAGE_CAPTCHA_KEY_PREFIX = "CAPTCHA:KEY:";

    /**
     * 验证码类型：图片验证码 滑动验证码
     */
    public static final String CAPTCHA_TYPE = "captcha_type";

    /**
     * 滑动验证码类型：clickWord  blockPuzzle
     */
    public static final String SLIDING_CAPTCHA_TYPE = "sliding_type";

    /**
     * 图片验证码
     */
    public static final String IMAGE_CAPTCHA = "image";

    /**
     * 验证码的key
     */
    public static final String CAPTCHA_KEY = "captcha_key";

    /**
     * 验证码的值
     */
    public static final String CAPTCHA_CODE = "captcha_code";

    /**
     * 滑动验证码的验证校验
     */
    public static final String CAPTCHA_VERIFICATION = "captcha_verification";

}
